package com.exam.bingo.handlerexception_d;

import android.app.Application;

import com.exam.bingo.handlerexception_d.log.LogcatHelper;
import com.exam.bingo.handlerexception_d.tools.CrashHandler;

public class MyApp extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        CrashHandler.getInstance().init(this);
        LogcatHelper.getInstance(this).start();
    }

    @Override
    public void onTerminate() {
        super.onTerminate();
        LogcatHelper.getInstance(this).stop();
    }
}
